package com.arrogames.lib.ash.rendering {
	import ash.core.Engine;
	import ash.core.System;
	import ash.tools.ListIteratingSystem;

	public class RotationSystem extends ListIteratingSystem {
		
		public function RotationSystem() {
			super(RotationNode, rotationUpdate);
		}
		
		private function rotationUpdate(node:RotationNode, time:Number):void {
			node.display.graphic.rotation = node.rotation.value;
		}
		
	}
}